-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shorten the error message in orphaned-objects monrun check #265
Conversation
9fda477
to
b8f23b8
Compare
39702c4
to
dabd301
Compare
dabd301
to
4b1fd6c
Compare
@@ -52,7 +56,7 @@ def orphaned_objects_command( | |||
return Result(CRIT, str(e)) | |||
|
|||
total_size = state.orphaned_objects_size | |||
error_msg = state.error_msg | |||
error_msg = _error_message_format(state.error_msg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider putting this action there to make it more general
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thks, that's much better. done
2ff022e
to
dd93ace
Compare
dd93ace
to
6229422
Compare
a246ae4
to
af66fd8
Compare
""" | ||
Then we get response | ||
""" | ||
2;Code: 27. DB::Exception: ... (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 24.8.5.115 (official build)) ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use we get response matches
for checking response without specific versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The purpose of this test is to show the final error message, we are parsing an error that already contains "(version 24.8.5.115 (official build))", that is, this result of this test does not depend on the version of clickhouse.
Maybe I didn’t understand why to change this test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I got confused with the Scenario: Check Geobase
test. But it is already fixed
d928fd4
to
af66fd8
Compare
No description provided.